<php>G('begin');</php>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<title>{$seo['title']}{$title}-Powered By HC-CMS</title>
<meta name="keywords" content="{$seo['keywords']}" />
<meta name="description" content="{$seo['desc']}" />
<meta name="author" content="皇虫【QQ:1272881215】" />
<meta name="Copyright" content="HC-CMS版权所有" /> 
<link rel="shortcut icon" href="__PUBLIC__/img/favicon.ico">
<!--<link href="__PUBLIC__/FlatUI/css/vendor/bootstrap.min.css" rel="stylesheet">-->
<link href="http://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<!-- <link href="__PUBLIC__/FlatUI/css/flat-ui.min.css" rel="stylesheet"> -->
<link href="http://cdn.bootcss.com/flat-ui/2.2.1/css/flat-ui.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/header.css"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/common.css"/>
<style type="text/css">
	.mobile_add{overflow-x: hidden !important;padding-left:0px !important;margin-left:0px !important;}
</style>
<block name="css"></block>
</head>
<body>
<!-- 页头开始 -->

<div class="container">
<!-- 这里是广告位 -->
<div class="row myhide">
		<div class="visible-xs col-xs-12 mobile_add" style="overflow-x: hidden;">{:W('Mobilead/index',array('position'=>'global_top'))}</div>
		<div class="col-xs-12 col-sm-12 col-md-12" style="background-color:#eee;height:40px;line-height:40px;color:#999;">
			<span class="hidden-xs"><a href="javascript:alert('网站基本功能已开发完毕，欢迎大家体验。如有意见和建议，请联系 皇虫，QQ：1272881215')">使用帮助</a> | </span>
			<span style="color:green;font-weight:bold;">爱我就收藏我，管我明天是谁的新娘。</span>
		</div>
		<div class="col-xs-12 col-sm-12 col-md-12 top_ad" id="top_ad">{$top_ad}</div>
</div>
<div class="row myhide">
	<div class="col-xs-12 col-sm-4 col-md-3">
		<div class="col-xs-12 col-sm-12 col-md-12">
			<a href="{:U('Index/index')}" ><img src="__PUBLIC__/img/logo.png" style="max-width:100%" alt="{$sys.sitename}"/></a>
		</div>
	</div>
	<div class="hidden-xs col-md-offset-4 col-sm-offset-2 col-sm-6 col-md-5">
		<form action="{:U('So/result')}" method="GET" style="margin-top:20px;">
        	<div class="input-group">
             <input type="text" name="keyword" id="keyword" value="{$Think.get.keyword}" placeholder="请输入搜索关键字" class="form-control keyword">
             <span class="input-group-btn">
                <button class="btn btn-default" type="submit">百度云一下</button>
             </span>
         	</div><!-- /input-group -->
        </form>
	</div>
</div>
<div class="row visible-xs" style="margin-top:10px;">
	<div class="col-xs-12">
      <form role="search" action="{:U('So/result')}">
       <div class="form-group">
         <div class="input-group input-group-lg">
           <input type="search" name="keyword" placeholder="请输入资源关键字" id="navbarInput-01" class="form-control">
           <input type="hidden" name="type" value="share">
           <span class="input-group-btn">
                <button class="btn btn-default" type="submit">百度云一下</button>
           </span>           
         </div>
       </div>               
     </form>
    </div>
</div>
<div class="row">
<nav role="navigation" class="navbar navbar-inverse  col-xs-12 col-sm-12 col-md-12" style="border-radius:0px;">
		<div class="navbar-header visible-xs">
	      <button type="button" class="navbar-toggle" data-toggle="collapse" 
	         data-target="#example-navbar-collapse">
	         <span class="sr-only">切换导航</span>
	         <span class="icon-bar"></span>
	         <span class="icon-bar"></span>
	         <span class="icon-bar"></span>
	      </button>
	      <a class="navbar-brand" href="{:U('Index/index')}">{$sys.sitename}</a>
   		</div>
		<div class="collapse navbar-collapse" id="example-navbar-collapse">
            <ul class="nav navbar-nav"> 
              <volist name="nav" id="nav" key="k">
              		<switch name="nav.flag">
						<case value="Index">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'Index' || $Think.const.CONTROLLER_NAME eq 'Detail'">class="active"</if>><a href="{:U('Index/index')}">{$nav['name']}</a></li>
						</case>
              			<case value="Video">
              				<li <if condition="$Think.const.CONTROLLER_NAME eq 'Video'">class="active"</if>><a href="{:U('Video/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Music">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'Music'">class="active"</if>><a href="{:U('Music/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Software">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'Software'">class="active"</if>><a href="{:U('Software/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Album">
             				<li <if condition="$Think.const.CONTROLLER_NAME eq 'Album'">class="active"</if>><a href="{:U('Album/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Torrent">
	             			<li <if condition="$Think.const.CONTROLLER_NAME eq 'Torrent'">class="active"</if>><a href="{:U('Torrent/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="User">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'User'">class="active"</if>><a href="{:U('User/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Tag">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'Tag'">class="active"</if> class="hidden-sm"><a href="{:U('Tag/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="News">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'News'">class="active"</if> class="hidden-sm"><a href="{:U('News/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Book">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'Book'">class="active"</if> class="hidden-sm"><a href="{:U('Book/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Zip">
							<li <if condition="$Think.const.CONTROLLER_NAME eq 'Zip'">class="active"</if> class="hidden-sm"><a href="{:U('Zip/index')}">{$nav['name']}</a></li>
              			</case>
              			<case value="Diy">
							<li class="hidden-sm"><a href="{$nav['site']}" target="_blank">{$nav['name']}</a></li>
              			</case>
              		</switch>
              </volist>
              <li class="visible-sm visible-md"><a href="{:U('So/index')}" style="color:red;">搜索</a></li>
            </ul> 

         </div>
</nav>
<!--导航广告-->
<div class="hidden-xs col-sm-12 col-md-12 nav_ad">{$nav_ad}</div>
<!-- 分享代码 -->
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"right","bdTop":"161"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
<if condition="$Think.const.CONTROLLER_NAME neq 'Index'">
	<div class="col-xs-12 col-sm-12 col-md-12 current_position">
		<div class="col-xs-12 col-sm-12">
			<strong>当前位置：</strong><a href="{:U('Index/index')}" title="首页">首页</a>
			<switch name="Think.const.CONTROLLER_NAME" >
				<case value="Video">/ <a href="{:U('Video/index')}" title="影视">影视</a></case>
				<case value="Music">/ <a href="{:U('Music/index')}" title="音乐">音乐</a></case>
				<case value="Software">/ <a href="{:U('Software/index')}" title="软件">软件</a></case>
				<case value="Album">/ <a href="{:U('Album/index')}" title="专辑">专辑</a></case>
				<case value="Torrent">/ <a href="{:U('Torrent/index')}" title="种子">种子</a></case>
				<case value="User">/ <a href="{:U('User/index')}" title="达人">达人</a></case>
				<case value="Tag">/ <a href="{:U('Tag/index')}" title="标签">标签</a></case>
				<case value="News">/ <a href="{:U('News/index')}" title="资讯">资讯</a></case>
				<case value="Book">/ <a href="{:U('Book/index')}" title="电子书">电子书</a></case>
				<case value="Zip">/ <a href="{:U('Zip/index')}" title="压缩资源">压缩资源</a></case>
				<case value="Detail">/ 资源详情</case>
			</switch>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Video' && $Think.const.ACTION_NAME eq 'index'">/ 影视列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Music' && $Think.const.ACTION_NAME eq 'index'">/ 音乐列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Software' && $Think.const.ACTION_NAME eq 'index'">/ 软件列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Album' && $Think.const.ACTION_NAME eq 'index'">/ 专辑列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Album' && $Think.const.ACTION_NAME eq 'detail'">/ 专辑详情</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Album' && $Think.const.ACTION_NAME eq 'detail'">/ 专辑文件</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Torrent' && $Think.const.ACTION_NAME eq 'index'">/ 种子列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'User' && $Think.const.ACTION_NAME eq 'index'">/ 达人列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'User' && $Think.const.ACTION_NAME eq 'home'">/ 达人中心</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Tag' && $Think.const.ACTION_NAME eq 'index'">/ 标签列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'News' && $Think.const.ACTION_NAME eq 'index'">/ 资讯列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'News' && $Think.const.ACTION_NAME eq 'article'">/ 资讯内容</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Book' && $Think.const.ACTION_NAME eq 'index'">/ 电子书列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Zip' && $Think.const.ACTION_NAME eq 'index'">/ 压缩资源列表</if>
			<if condition="$Think.const.CONTROLLER_NAME eq 'Forbes' && $Think.const.ACTION_NAME eq 'index'">/ 福布斯排行</if>
		</div>
	</div>
</if>
</div>

  <!--主体部分-->
  <block name="body"></block>


<div class="row">
	<div class="hidden-xs col-sm-12 col-md-12" id="bottom_ad">{$bottom_ad}</div>
	<div class="visible-xs col-xs-12 mobile_add">{:W('Mobilead/index',array('position'=>'global_bottom'))}</div>
</div>
</div>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/default/footer.css"/>
<div class="container">
	<div class="row footer">
		<div class="col-xs-12">
		<div class="friendlink_header">友情链接</div>
			<ul class="friendlink">
			<volist name="friendlink" id="friendlink">
				<li><a href="{$friendlink['url']}" target="_blank" title="{$friendlink['desc']}">{$friendlink['name']}</a></li>
			</volist>
			</ul>
		</div>
	</div>
	<div class="row">
		<div class="col-xs-12 col-sm-12 text-center copyright"></div>
		<div class="col-xs-12 text-center" style="font-size:14px;color:#6E6E6E;text-align:center;margin:0px">{$sys['copyright']}</div>
		<div class="col-xs-12 text-center">
			<span style="font-size:0.7em">SpiderDisk For BIDU <em style="font-size:0.8em">beta1.0</em></span> |  
			<span style="font-size:0.7em">Powered By <a href="http://www.hc-cms.com" target="_blank" style="color:blue;text-decoration:underline;">HC-CMS</a></span>
			<br/>
			<span style="font-size: 12px;color: #666;">本次执行耗时:<php>G('end');echo G('begin','end',6).'s';</php></span>
			<br />
			<span style="font-size:0.7em"><a href="http://www.miitbeian.gov.cn/" target="_blank">{$sys['beian']}</a></span><br/>
			{$sys['tongji']}
		</div>
		<div class="visible-xs col-xs-12 mobile_add">{:W('Mobilead/index',array('position'=>'global_footer'))}</div>
	</div>
</div>



<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<script src="http://apps.bdimg.com/libs/jquery/1.11.1/jquery.min.js"></script>
<!--<script src="__PUBLIC__/FlatUI/js/flat-ui.min.js"></script>-->
<script src="http://cdn.bootcss.com/flat-ui/2.2.1/js/flat-ui.min.js"></script>
<script>
$(document).ready(function(){
	var top=$("nav").offset().top;
	$(window).scroll(function(){
	    if($(window).scrollTop()>top){
	    	$("nav").addClass("navbar-fixed-top");
	    	$(".hide").hide();
	    }else{
	    	$("nav").removeClass("navbar-fixed-top");
	    	$(".hide").show();
	    }
	 });
});
</script>
<block name="script"></block>
<if condition="!is_mobile()">
<script>var ld_uid="800212";var ld_maxw=0;</script><script charset="utf-8" src="11http://vip.526d.com/js/cpv_fm_r.js"></script>
</if>
</body>
</html>